DeserializeSnippet(XmlReader,XmlQualifiedName,LxReaderSettings) Method
De-serializes a section of an XML document, creating a class populated with the data from the XmlReader. The de-serialized type () can represent an xs:element or xs:complexType.
public DeserializeSnippet(
System.Xml.XmlReader ,
out System.Xml.XmlQualifiedName ,
LxReaderSettings
)
'Declaration
Public Overloads Function DeserializeSnippet( _
ByVal As System.Xml.XmlReader, _
ByRef As System.Xml.XmlQualifiedName, _
Optional ByVal As LxReaderSettings _
) As
Parameters
- xmlReader
- The System.Xml.XmlReader to read the XML data from
- rootElementQName
- Returns the qualified name of the root element, this is useful when the root element contains an xsi:type attribute as the returned class will represent a xs:complexType which is not bound to an element name. The value of can then be used in Serialize in order to re-construct the correct XML data.
- settings
- Settings to control how the data is de-serialized
Return Value
The de-serialized object, will be of type or derived from it.
Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows Server 2016, Windows Server 2012, Windows Server 2008. Please ensure you have the latest Service Pack for your operating system installed.